package com.ubb.smartsearch.searchengineif.entity;

import java.util.Collection;
import java.util.Date;

public class Result {

	/** Article title. */
	private String title;

	/** Article snippet with keyword in context. */
	private String kwic;

	/** Article url. */
	private String url;

	/** Main article image url. */
	private String iurl;

	/** Domain. */
	private String domain;

	/** Article author. */
	private String author;

	/** Article is from newspapers, magazines and blogs. */
	private boolean news;

	/**
	 * Publishing date (how many milliseconds have passed between now and the
	 * beginning of 1970).
	 */
	private Date date;

	/** Array of related articles. */
	private Collection<Related> related;
	
	/** Category of result. */
	private String category;

	/**
	 * @return the title
	 */
	public String getTitle() {
		return title;
	}

	/**
	 * @param title
	 *            the title to set
	 */
	public void setTitle(String title) {
		this.title = title;
	}

	/**
	 * @return the kwic
	 */
	public String getKwic() {
		return kwic;
	}

	/**
	 * @param kwic
	 *            the kwic to set
	 */
	public void setKwic(String kwic) {
		this.kwic = kwic;
	}

	/**
	 * @return the url
	 */
	public String getUrl() {
		return url;
	}

	/**
	 * @param url
	 *            the url to set
	 */
	public void setUrl(String url) {
		this.url = url;
	}

	/**
	 * @return the iurl
	 */
	public String getIurl() {
		return iurl;
	}

	/**
	 * @param iurl
	 *            the iurl to set
	 */
	public void setIurl(String iurl) {
		this.iurl = iurl;
	}

	/**
	 * @return the domain
	 */
	public String getDomain() {
		return domain;
	}

	/**
	 * @param domain
	 *            the domain to set
	 */
	public void setDomain(String domain) {
		this.domain = domain;
	}

	/**
	 * @return the author
	 */
	public String getAuthor() {
		return author;
	}

	/**
	 * @param author
	 *            the author to set
	 */
	public void setAuthor(String author) {
		this.author = author;
	}

	/**
	 * @return the news
	 */
	public boolean isNews() {
		return news;
	}

	/**
	 * @param news
	 *            the news to set
	 */
	public void setNews(boolean news) {
		this.news = news;
	}

	/**
	 * @return the date
	 */
	public Date getDate() {
		return date;
	}

	/**
	 * @param date
	 *            the date to set
	 */
	public void setDate(Date date) {
		this.date = date;
	}

	/**
	 * @return the related
	 */
	public Collection<Related> getRelated() {
		return related;
	}

	/**
	 * @param related
	 *            the related to set
	 */
	public void setRelated(Collection<Related> related) {
		this.related = related;
	}

	/**
	 * @return the category
	 */
	public String getCategory() {
		return category;
	}

	/**
	 * @param category the category to set
	 */
	public void setCategory(String category) {
		this.category = category;
	}

}
